home *** CD-ROM | disk | FTP | other *** search
- $SPECPOW(f, 20)
-
- Shader()
- {// >=gffx
- NoLightmaps()
- sortweight(SORTW)
- Shaderquality(3)
- Pass()
- {
- Pixelshader("TreeCross.psh")
- VertexShader("TreeCross20.vsh")
-
- tmu()
- {
- Texture()
- {
- Image(TEXTURE1)
- addressfunc("clamp", "clamp", "clamp")
- }
- }
-
- !include("__CloudsVSTrees.mtt")
-
- BlendFunc("src_alpha", "inv_src_alpha")
- AlphaFunc("gequal", 1)
- depthfunc("lequal", 0)
- }
- Cull("none")
- }
-
-
- Shader()
- {// >=gffx
- NoLightmaps()
- sortweight(SORTW)
- Shaderquality(1)
- Pass()
- {
- Pixelshader("TreeCrossVeryLow.psh")
- VertexShader("TreeCrossVeryLow20.vsh")
-
- tmu()
- {
- Texture()
- {
- Image(TEXTURE1)
- addressfunc("clamp", "clamp", "clamp")
- }
- }
-
- BlendFunc("src_alpha", "inv_src_alpha")
- AlphaFunc("gequal", 1)
- depthfunc("lequal", 0)
- }
- Cull("none")
- }
-
- Shader()
- {// >=gf3
- NoLightmaps()
- sortweight(SORTW)
- Shaderquality(3)
- Pass()
- {
- Pixelshader("TreeCross.psh")
- VertexShader("TreeCross.vsh")
-
- tmu()
- {
- Texture()
- {
- Image(TEXTURE1)
- addressfunc("clamp", "clamp", "clamp")
- }
- }
-
- !include("__CloudsVSTrees.mtt")
-
- BlendFunc("src_alpha", "inv_src_alpha")
- AlphaFunc("gequal", 1)
- depthfunc("lequal", 0)
- }
- Cull("none")
- }
-
- Shader()
- {// >=g3
- NoLightmaps()
- sortweight(SORTW)
- Shaderquality(1)
- Pass()
- {
- Pixelshader("TreeCrossVeryLow.psh")
- VertexShader("TreeCrossVeryLow.vsh")
-
- tmu()
- {
- Texture()
- {
- Image(TEXTURE1)
- addressfunc("clamp", "clamp", "clamp")
- }
- }
-
- BlendFunc("src_alpha", "inv_src_alpha")
- AlphaFunc("gequal", 1)
- depthfunc("lequal", 0)
- }
- Cull("none")
- }
-
- Shader()
- {
- NoLightmaps()
- sortweight(SORTW)
- Pass()
- {
- tmu()
- {
- colorop("add", "tfactor", "tfactor_a", "current")
- }
-
- tmu()
- {
- texture()
- {
- Mapchannel(0)
- image(TEXTURE1)
- addressfunc("clamp", "clamp", "clamp")
- }
- ColorOp("mul", "texture", "current", "current")
- AlphaOp("arg1", "texture", "current", "current")
- }
-
- Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %daycolor_a)
- colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
-
- BlendFunc("src_alpha","inv_src_alpha")
- AlphaFunc("greater", 1 )
- depthfunc("lequal", 0)
- }
-
- Cull("none")
- }
-
-
-
-